import http from '@/utils/http.js';


export const getUserProfile = () => http({
	method: 'GET',
	url: '/member/profile'
})


/**
 * 修改个人信息
 * @param data 请求体参数
 */
export const putMemberProfileAPI = (data) => {
	return http({
		method: 'PUT',
		url: '/member/profile',
		data,
	})
}